sgpb\AdminHelper D

Total Complexity 381
Dependencies 9
Dependents 20
Total lines 2,058
Lines of code 1,506
Logical lines of code 949
Comment lines 163
Methods 79
Properties 0

Methods 79

Method Rating Maintainability Complexity Lines of code
getSystemInfoText()
D
24
40 145
getBrowser()
B
37 20 71
createSelectBox()
B
41 19 55
subscribersRelatedQuery()
B
44 17 41
renderCustomScripts()
B
39 15 65
themeRelatedSettings()
A
51 17 28
filterUserCapabilitiesForTheUserRoles()
A
43 12 49
getHost()
A
47 12 38
defaultButtonImage()
A
51 10 27
makeRegisteredPluginsStaticPathsToDynamic()
A
49 7 32
getGutenbergPopupsIdAndTitle()
A
50 7 32
createRadioButtons()
S
49 7 29
hexToRgba()
S
50 7 29
shouldOpenReviewPopupForDays()
S
50 7 29
removeUnnecessaryCodeFromPopups()
S
51 7 27
getPopupsIdAndTitle()
S
52 7 26
deleteUserFromSubscribers()
S
51 7 26
arrayMergeSameKeys()
S
52 7 25
hasInactiveExtensions()
S
51 7 25
createInput()
S
54 7 20
getCurrentUserRole()
S
53 6 23
getSubscriptionColumnsById()
S
56 5 17
getTaxonomyBySlug()
S
59 5 15
getCurrentPostType()
S
59 5 15
getCurrentPopupType()
S
59 5 14
checkEditorByPopupId()
S
58 5 14
removeSelectedTypeOptions()
S
60 5 14
createCheckBox()
S
58 5 14
isPluginActive()
S
60 5 13
sendTestNewsletter()
S
51 4 26
getMaxOpenPopupContent()
S
45 1 69
shouldOpenForMaxOpenPopupMessage()
S
61 4 12
getImageDataFromUrl()
S
62 4 11
getAllFreeExtensions()
S
57 3 18
getAllExtensions()
S
57 3 18
getEmailHeader()
S
58 3 15
getCSSSafeSize()
S
64 4 10
userCanAccessTo()
S
61 3 13
dateToSeconds()
S
61 3 12
renderExtensionsContent()
S
55 2 22
sendEmailAboutUnsubscribe()
S
56 2 16
getSiteProtocol()
S
67 3 7
subscriberExists()
S
64 3 10
getCustomFormFieldsByPopupId()
S
66 3 9
getPopupPostAllowedUserRoles()
S
64 3 10
createAttrs()
S
64 3 10
getAllActiveExtensions()
S
63 3 10
getPopupMainTableCreationDate()
S
58 2 14
getMaxOpenPopupId()
S
60 2 14
deleteSubscriber()
S
60 2 12
removeAllNonPrintableCharacters()
S
61 2 12
findSubscribersByEmail()
S
62 2 11
getMaxOpenPopupsMessage()
S
61 2 11
getExtensionAvaliabilityOptions()
S
58 1 19
renderAlertProblem()
S
59 1 18
getReverseConvertIds()
S
68 2 8
getFileFromURL()
S
66 2 9
buildCreatePopupUrl()
S
65 2 9
getPopupThumbClass()
S
65 2 9
supportBannerNotification()
S
60 1 11
getSettingsURL()
S
74 1 4
getPopupExportURL()
S
65 1 9
addArgsToURl()
S
75 1 4
getDateObjFromDate()
S
72 1 5
serializeData()
S
76 1 4
deleteSubscriptionPopupSubscribers()
S
71 1 5
getFormattedDate()
S
69 1 6
getRightMetaboxBannerText()
S
76 1 4
showMenuForCurrentUser()
S
80 1 3
getGutenbergPopupsEvents()
S
63 1 10
getPopupTypesPageURL()
S
78 1 3
addUnsubscribeColumn()
S
72 1 5
deleteOption()
S
80 1 3
getOption()
S
79 1 3
updateOption()
S
79 1 3
getMaxOpenDaysMessage()
S
69 1 6
getPopupUsageDays()
S
65 1 8
renderWPBakeryScriptsAndStyles()
S
78 1 3
getImageAltTextByUrl()
S
72 1 5